home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7157 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.arch.arithmetic,comp.lang.c,comp.lang.c++
  4. Subject: Re: Access carry flag from C
  5. Date: 21 Feb 1996 15:16:40 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Feb21081640@qcd.lanl.gov>
  8. References: <Dn1C9z.DGv.0.net@indra.com> <1996Feb1922.17.19.879@koobera.math.uic.edu>
  9.     <31298D20.41C6@bazis.nl> <danpop.824859220@rscernix>
  10.     <312AFACE.41C6@bazis.nl>
  11. NNTP-Posting-Host: qcd.lanl.gov
  12. Mime-Version: 1.0
  13. Content-Type: text
  14. In-reply-to: Franz Korntner's message of Wed, 21 Feb 1996 10:58:22 GMT
  15.  
  16. In article <312AFACE.41C6@bazis.nl> Franz Korntner <fkorntne@bazis.nl>
  17. writes: 
  18. <snip>
  19.    32 bit numbers. According to the (X3J11 / ANSI) standard, the constant
  20.    INT_MAX (and in this case most limits in limits.h) denotes the minimal
  21.    limit. It is possible that the physical limit is much higher (or lower 
  22.    in the case of negative values). As I am only interested in the physical
  23.    limit, the value INT_MAX has no meaning. Only the compiler is fully aware
  24.    of these limits (and not a header file!) and what I really miss in the 
  25.    standard and/or implementation is a inline function 'maxlimitof(int)',
  26.    analogical to 'sizeof(int)'.
  27.  
  28. Please quote the standard. I find no discussion of this in my copy;
  29. and I suspect it is incorrect.
  30.  
  31. Cheers
  32. Tanmoy
  33. --
  34. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  35. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  36. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  37. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  38. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  39. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  40.